/* You can add global styles to this file, and also import other style files */ 

html, body, #root {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #141414; /* 确保背景色一致，防止白边 */
} 

.ant-btn {
  border-radius: 0px;
}

.ant-input-affix-wrapper-lg {
  border-radius: 0px;
}

.ant-input-affix-wrapper {
  border-radius: 0px;
}

.ant-input {
  border-radius: 0px;
}

.ant-input-sm {
  border-radius: 0px;
}

.ant-modal .ant-modal-content {
  border-radius: 0px;
}

.ant-btn-color-default {
  box-shadow: none;
}

.ant-btn-color-primary {
  box-shadow: none;
}

:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background-color: transparent !important;
  overflow: hidden;
}

#root {
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
}

/* Custom Scrollbar Styles */
#root::-webkit-scrollbar {
  width: 8px;
}

#root::-webkit-scrollbar-track {
  background: #242424;
  border-radius: 0px;
}

#root::-webkit-scrollbar-thumb {
  background-color: #555;
  border-radius: 4px;
  border: 2px solid #242424;
}

#root::-webkit-scrollbar-thumb:hover {
  background-color: #777;
}

.ant-tooltip-inner {
  border-radius: 4px !important;
}

.ant-message-notice-content {
  border-radius: 6px !important;
}

.ant-modal-content {
  border-radius: 8px !important;
}

.ant-modal-header {
  border-radius: 8px 8px 0 0 !important;
}